package com.cqx.collectionMysql.service.impl;


import com.cqx.collectionMysql.persistence.entity.ManufactureView;
import com.cqx.collectionMysql.persistence.entity.Result;
import com.cqx.collectionMysql.persistence.repository.ManufactureRepository;
import com.cqx.collectionMysql.service.ManufactureService;
import com.cqx.collectionMysql.util.DateUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional
public class ManufactureServiceImpl implements ManufactureService {

    @Autowired
    private ManufactureRepository manufactureRepository;

    @Override
    public Result<Boolean> pushData() {
//        List<ManufactureView> manufactureViewList = manufactureRepository.findByTimeAfter(DateUtil.strToDateLong("2021-07-05 00:02:00"));
        return null;
    }
}
